package com.safewind.dao;

import java.util.List;

import com.safewind.model.Address;

public interface AddressDao {
	int deleteByPrimaryKey(String pkId);

	int insert(Address record);

	int insertSelective(Address record);

	Address selectByPrimaryKey(String pkId);

	int updateByPrimaryKeySelective(Address record);

	int updateByPrimaryKey(Address record);

	List<Address> getAllByGroupId(String groupId);

	int deleteAllByGroupId(String groupId);

	List<Address> selestAddressByPhoneNumberAndGroup(String phoneNumber,
			String groupId);

	void deleteAllByUserId(String userId);

	List<Address> getAddressListByIds(List<String> param);
}